// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using NSQL.Statements;

namespace NSQL.Expressions
{
    public class ExistsExpression : BaseExpression, IExistsExpression
    {
        public IDataSetStatement DataSet { get; set; }

        public ExistsExpression(IDataSetStatement dataSet)
        {
            DataSet = dataSet;
        }
        public override T Accept<T>(IExpressionVisitor<T> visitor) => visitor.Visit(this);
    }
}